<?php
/* Smarty version 3.1.33, created on 2019-12-23 10:13:04
  from 'D:\xampp\htdocs\ps_project\application\views\templates\diner\myorder.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_5e008520dd8c65_44594314',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'b73463b6a95eb720743ce212a005c97a89e30127' => 
    array (
      0 => 'D:\\xampp\\htdocs\\ps_project\\application\\views\\templates\\diner\\myorder.tpl',
      1 => 1577092383,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5e008520dd8c65_44594314 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="food_lead">
	<div class="bootstrapiso shit">
		<ul class="nav nav-tabs" style="border-bottom-style: none">
			<li class="nav-item">
				<a class="nav-link" data-toggle="tab" href="#unreceived">未被接单</a>
			</li>
			<li class="nav-item" >
				<a class="nav-link" data-toggle="tab" href="#sending">配送中</a>
			</li>
			<li class="nav-item">
				<a class="nav-link" data-toggle="tab" href="#sent">已送达</a>
			</li>
		</ul>
		<div class="tab-content">
			<div class="tab-pane fade" id="unreceived">
			<ul class="nav nav-pills">
				<?php if ($_smarty_tpl->tpl_vars['unreceived_orders']->value != NULL) {?>
					<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['unreceived_orders']->value, 'details');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['details']->value) {
?>
						<li class="nav-item">
							<ul>
							<li>下单时间: <?php echo $_smarty_tpl->tpl_vars['details']->value->comfirm_time;?>
</li>
							<li>商家名: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_name;?>
</li>
							<li>商家地址: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_addr;?>
</li>
							<li>商家电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_phone;?>
</li>
							<li>送达地址: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_addr;?>
</li>
							<li>收货人姓名: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_name;?>
</li>
							<li>收货人电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_phone;?>
</li>
							</ul>
						</li>
					<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
				<?php } else { ?>
					无未被骑手接单订单
				<?php }?>
			</ul>
		</div>
			<div class="tab-pane fade" id="sending">
				<ul class="nav nav-pills">
					<?php if ($_smarty_tpl->tpl_vars['sending_orders']->value != NULL) {?>
						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sending_orders']->value, 'details');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['details']->value) {
?>
							<li class="nav-item">
								<ul>
									<li>下单时间: <?php echo $_smarty_tpl->tpl_vars['details']->value->comfirm_time;?>
</li>
									<li>商家名: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_name;?>
</li>
									<li>商家地址: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_addr;?>
</li>
									<li>商家电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_phone;?>
</li>
									<li>送达地址: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_addr;?>
</li>
									<li>收货人姓名: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_name;?>
</li>
									<li>收货人电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_phone;?>
</li>
									<li>骑手编号: <?php echo $_smarty_tpl->tpl_vars['details']->value->rid;?>
</li>
									<li>骑手电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->rider_phone;?>
</li>
								</ul>
							</li>
						<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
					<?php } else { ?>
						无正在配送中的订单
					<?php }?>
				</ul>
			</div>
			<div class="tab-pane fade" id="sent">
				<ul class="nav nav-pills">
					<?php if ($_smarty_tpl->tpl_vars['sent_orders']->value != NULL) {?>
						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sent_orders']->value, 'details');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['details']->value) {
?>
							<li class="nav-item">
								<ul>
									<li>送达时间: <?php echo $_smarty_tpl->tpl_vars['details']->value->arrival_time;?>
</li>
									<li>下单时间: <?php echo $_smarty_tpl->tpl_vars['details']->value->comfirm_time;?>
</li>
									<li>商家名: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_name;?>
</li>
									<li>商家地址: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_addr;?>
</li>
									<li>商家电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_phone;?>
</li>
									<li>送达地址: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_addr;?>
</li>
									<li>收货人姓名: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_name;?>
</li>
									<li>收货人电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_phone;?>
</li>
									<li>骑手编号: <?php echo $_smarty_tpl->tpl_vars['details']->value->rid;?>
</li>
									<li>骑手电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->rider_phone;?>
</li>
								</ul>
							</li>
						<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
					<?php } else { ?>
						无正在配送中的订单
					<?php }?>
				</ul>
			</div>
		</div>
	</div>
</div>

<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value['base_url'];?>
application/views/templates/js/jquery.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value['base_url'];?>
application/views/templates/js/popper.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value['base_url'];?>
application/views/templates/js/bootstrap.min.js"><?php echo '</script'; ?>
>
</body>

</html>
<?php }
}
